<block name="include">
    <include file="Public:kf_sys"/>
</block>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>淄博慧算企业管理咨询有限责任公司</title>
    <meta name="keywords" content="公司核名、公司查名、企业核名、工商查名、工商预核名、公司名称核准、网上查名、网上核准、网上核名、名称核准、加急核名" />
    <meta name="description" content="助企帮，专业的企业核名搜索。北京|上海|广州|深圳公司核名，公司查名，工商预核名，企业核名|企业查名，网上查名，网上核名，名称核准" />
    <link rel="stylesheet" href="__CSS__/heming.css"/>
    <link rel="stylesheet" href="__CSS__/style.css"/>
    <link rel="stylesheet" href="__CSS__/iconfont.css"/>
    <link rel="stylesheet" href="__CSS__/index.css"/>
    <link rel="stylesheet" href="__CSS__/jquery-ui.css"/>
    <script type="text/javascript" src="__JS__/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery-ui.min.js"></script>

    <style type="text/css">
        .m_m ul li.zc{height:100%; height:70px; background: rgba(0,0,0,0.4) !important;background: #000000; font-size:14px; padding:25px 10px 0 10px;}
        .m_m ul li.zc a{margin:0 5px;}
        .m_m ul li.zc div a{font-size:12px; margin-right:5px; float:right; color:#b0c0ca}
        #menu {
            margin: 0; height:70px;
            padding: 0;
            position: fixed;
            list-style-type: none;
            z-index: 1070;
            width: 100%; min-width:1200px;
            top:0;
        }

        .wrapper_main{ padding-top:130px;}

        .warp_tit{ width:100%; height:50px; line-height:50px; }
        .warp_tit h2{ border-bottom:2px solid #1e8ef7; float:left; font-size:24px; color:#1e8ef7; font-weight:100; width:100px; text-align:center;}
        .warp_tit span{  font-size:14px; color:#666; }
        .result_text{ margin-left:0;}
        .result_type_text{ font-size:16px; color:#333; font-weight:normal;}
        .result_suggest a{ color:#f00; font-weight:normal;}
        .warp_results_list{ padding:30px 0px; border-top:1px solid #eee; border-bottom:0;}
        .jg_container{ padding-bottom:5px;}
        .ssfomr{background:rgba(0,0,0,0.1); padding:10px 0px 10px 10px; border-radius:4px; margin-bottom:25px;}
        .result_text{ margin-left:0px;}
        .result_suggest a{ color:#f00}
        .wrp_cm1 .ssfomr_box .btn{ padding:0 37px;}
        .wrp_cm1{ float:left; background:#eee;background-size:100%; width:840px; position:relative}
    </style>
</head>
<body>
<div id="menu" style=" background-color:#084d76;">
    <div class="m_banner">
        <div class="m_l"><img width="300" src="__IMG__/logo_w.png"/></div>
        <div class="m_m">
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="{:U('Qiming/index')}">起名</a></li>
                <li class="active"><a href="{:U('Heming/index')}">核名</a></li>
                <li><a href="{:U('Jingying/index')}">经营范围</a></li>
                <li><a href="{:U('Gongshang/index')}">工商材料</a></li>

                <li class="zc">
                    <if condition="$login eq 1">
                        <div><span
                                style=" color:#fff; margin-right:5px;max-width:120px; white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block; float:left">{$guest.name}</span><a
                                href="{:U('Index/logout')}"><i class="iconfont"></i>退出</a>
                        </div>
                        <else/>
                        <a href="javascript:;" id="toLogin1" data-type="1">登录</a> <span style=" float:left">|</span> <a
                            href="javascript:;" id="toReg1" data-type="1">注册</a>
                    </if>
                </li>
            </ul>
        </div>
    </div>
</div>
<block name="include">
    <include file="Public:login"/>
</block>
<div class="wrapper">
    <div class="wrapper_main row" style="width:1200px;">
        <input type="hidden" name="areaCode" id="areaCode" value="310000"/>
        <div class="wrapper_left" style=" width:840px; padding:0px 0 40px 0;">
            <div class="bn wrp_cm1 ">
                <div class="ssfomr" style=" margin-bottom:50px;">
                    <div class="ssfomr_box cpzh" style=" width:353px;">
                        <input placeholder="字号" id="firm" name="firm" value="{$qm}"/>
                    </div>
                    <div class="ssfomr_box hytype">
                        <input placeholder="行业类型" id="trade" name="trade" value="{$hy}"/>
                    </div>
                    <div class="ssfomr_box">
                        <select name="form" id="form"  style=" margin:0;">
                            <option <if condition="$gs eq '有限公司'"> selected </if> value="有限公司">有限公司</option>
                            <option <if condition="$gs eq '合伙企业'"> selected </if> value="合伙企业">合伙企业</option>
                        </select>
                    </div>
                    <div class="ssfomr_box">
                        <button class="btn clicka" onclick="doquery()">核名</button>
                    </div>
                </div>
            </div>
            <div class="wrapper_left1">
                 <!--<div class="loading_jg" style="text-align: center; color: #666; font-size: 14px; line-height: 28px; padding-top: 280px;"><img src="images/5-121204194032-50.gif" alt=""><br>正在拼命加载中...</div>-->
                <div class="jg_container" id="passDiv" style="">
                    <div id="j_title" class="j_title">
                        “<font color="#f00">淄博{$qm}{$hy}{$gs}</font>”的注册通过率
                    </div>
                    <div class="j_cont">
                        <ul class="tgl">
                            <li class="">
                                <div class="tgl_bg">高</div>
                            </li>
                            <li class="">
                                <div class="tgl_bg">中</div>
                            </li>
                            <li class="">
                                <div class="tgl_bg">低</div>
                            </li>
                        </ul>
                    </div>
                    <div class="wrap_results">
                        <div class="warp_tit">
                            <span>通过率低，不建议使用</span>
                        </div>
                        <div class="warp_fx">
                            <div class="warp_fxtit">
                                <h2>相似公司分析</h2>
                            </div>
                            <div class="warp_fxcon">
                                <!--第一条-->
                                <div id="show">

                                </div>
                                <!--隐藏的无数条-->
                                <div class="panel1">

                                </div>
                                <div style="clear: both"></div>
                                <div class="warp_more flip1">
                                    共
                                    <font color="#FF0000" id="count">0</font>
                                    条，点击展开
                                    <div class="iconfont">&#xe60c</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--<div class="loading_jg" style="text-align: center; color: #666; font-size: 14px; line-height: 28px; padding-top: 280px;"><img src="images/5-121204194032-50.gif" alt=""><br>正在拼命加载中...</div>-->
                </div>
            </div>
        </div>
        <div class="wrapper_right">
            <div class="hm_r_box">
                <div class="jg_History_title">历史查询</div>
                <div class="hm_r_box_cont">
                    <div class="tipstext">
                        <div class="tipstextVal">名称</div>
                        <div class="tipstextVal text_ar">通过率</div>
                    </div>

                    <div id="niceScroll" style="overflow: hidden;">
                        <ul class="History_list" id="hists">
                            <volist name="history" id="vo">
                                <li class="History_li" style="cursor: pointer" onmouseover="this.style.cursor='hand'">
                                    <div class="cxname_ifo">
                                        <div class="cxname">{$vo.txt}</div>
                                        <div class="cxtime">{$vo.create_time}</div>
                                    </div>
                                    <div class="iftj d">{$vo.status}</div>
                                </li>
                            </volist>

                        </ul>
                    </div>
                </div>
            </div>
            <div class="ad">
            </div>
        </div>
    </div>
</div>
<div class="Copyright">
    <div class="dataly"><b>数据来源：</b>
        <span class="ly_title_li">国家知识产权局</span>
        <span class="ly_title_li">商标局</span>
        <span class="ly_title_li">版权局</span>
        <span class="ly_title_li">全国企业信用信息公示系统</span>
        <span class="ly_title_li"><a href="about.html" target="_blank">关于我们</a></span>
        <span class="ly_title_li"><a href="qa.html" target="_blank">起名问答</a></span>
        <span class="ly_title_li"><a href="newsList.html" target="_blank">起名百科</a></span>
    </div>
    <div class="bottom">
        <p>Copyright@2017 助企帮 版权所有 淄博慧算企业管理咨询有限责任公司 <a href="{:U('About/index')}">关于我们</a>|<a href="{:U('Contact/index')}">联系我们</a></p>
    </div>
</div>
<style>
    .hui{
        padding:0;
        -webkit-box-shadow:none;
        box-shadow:none;
    }
</style>

<script type="text/javascript">
    var domain = "http://"+location.host+"/";
    console.log(domain);
    $(function(){
        $("body").on('click',"#logout",function(){
            logout();
        });


        autoComplete();
    });
    function autoComplete(){
        $(".city").autocomplete({
            source : function( request, response ){
                $.ajax({
                    url: domain+"getCity.html",
                    dataType: "json",
                    contentType: 'application/json; charset=utf-8',
                    data: $.extend({
                        startsWith: encodeURI(request.term),
                        limit: 10
                    }, null),
                    success: function(data) {
                        //$("#areaCode").val("");
                        if ( data.length > 0){
                            var code = data[0].value;
                            //$("#areaCode").val(code);
                            response(data);
                        }
                    }
                });
            },
            select : function(event, ui){
                //$("#areaCode").val( ui.item.value );
                $(this).val( ui.item.label );
                return false;
            }
        });
    }


    $('#ECS_treee2').click(function(){
        var clicked = $('.zc_login').hasClass('clicked');
        if(clicked){
            $('#ECS_treee1').removeClass('hover');
            $('#ECS_treee2').addClass('hover');
            $('#ECS_treee1_BODY').css({'display':'none'});
            $('#ECS_treee2_BODY').removeAttr('style')
            $('<li><i class="iconfont">&#xe645;</i><input type="text" placeholder="城市" class="city"></li>').prependTo('.reg>ul');
            autoComplete();
            $("#popup_dialog").show();//查找ID为popup的DIV show()显示#gray
        }
    });
    $('#ECS_treee1').click(function(){
        $('.city').parent().remove();
        $('#ECS_treee2').removeClass('hover');
        $('#ECS_treee1').addClass('hover');
        $('#ECS_treee2_BODY').css({'display':'none'});
        $('#ECS_treee1_BODY').removeAttr('style')
        $("#popup_dialog").show();//查找ID为popup的DIV show()显示#gray
    });
</script>

<script type="text/javascript">
    $(document).ready(function(){

        $(".top_nav").mousedown(function(e){
            $(this).css("cursor","move");//改变鼠标指针的形状
            var offset = $(this).offset();//DIV在页面的位置
            var x = e.pageX - offset.left;//获得鼠标指针离DIV元素左边界的距离
            var y = e.pageY - offset.top;//获得鼠标指针离DIV元素上边界的距离
            $(document).bind("mousemove",function(ev){ //绑定鼠标的移动事件，因为光标在DIV元素外面也要有效果，所以要用doucment的事件，而不用DIV元素的事件

                $(".popup").stop();//加上这个之后

                var _x = ev.pageX - x;//获得X轴方向移动的值
                var _y = ev.pageY - y;//获得Y轴方向移动的值

                $(".popup").animate({left:_x+"px",top:_y+"px"},10);
            });

        });

        $(document).mouseup(function() {
            $(".popup").css("cursor","default");
            $(this).unbind("mousemove");
        });
    })
</script>


<input type="hidden" value="2" id="click_type"/>

<script type="text/javascript">

    $(document).ready(function(){

        $(".top_nav").mousedown(function(e){
            $(this).css("cursor","move");//改变鼠标指针的形状
            var offset = $(this).offset();//DIV在页面的位置
            var x = e.pageX - offset.left;//获得鼠标指针离DIV元素左边界的距离
            var y = e.pageY - offset.top;//获得鼠标指针离DIV元素上边界的距离
            $(document).bind("mousemove",function(ev){ //绑定鼠标的移动事件，因为光标在DIV元素外面也要有效果，所以要用doucment的事件，而不用DIV元素的事件

                $(".popup").stop();//加上这个之后

                var _x = ev.pageX - x;//获得X轴方向移动的值
                var _y = ev.pageY - y;//获得Y轴方向移动的值

                $(".popup").animate({left:_x+"px",top:_y+"px"},10);
            });

        });

        $(document).mouseup(function() {
            $(".popup").css("cursor","default");
            $(this).unbind("mousemove");
        });
    })

</script>

<script type="text/javascript">
    $(document).ready(function(){
        $("body").on("click",'.flip1',function(){
            $(".panel1").slideDown("slow",function(){
                $(".flip1").hide();
            });
        })
    });
    $(document).ready(function(){
        $("body").on("click",'.flip2',function(){
            $(".panel2").slideDown("slow",function(){
                $(".flip2").hide();
            });
        })

    });
</script>

<script>
    function doquery() {
        var qm = $('#firm').val();
        var hy = $('#trade').val();
        var gs = $('#form').val();
        window.location.href = '{:U("Hmlist/index")}?qm=' + qm + '&hy=' + hy + '&gs=' + gs;
    }
    function refresh() {
        var qm = $('#firm').val();
        var hy = $('#trade').val();
        var gs = $('#form').val();
        str = '';
        str2 = '';
        $.ajax({
            url:"{:U('Hmlist/dataGet')}",
            data:{qm:qm,hy:hy,gs:gs},
            dataType:'json',
            type:'post',
            success:function (data) {
                console.log(data);
                var i= 0;
                while(i<4){
                    str+=
                        '<div class="warp_results_list">' +
                        '    <div class="result_text">' +
                        '        <div class="result_type row">' +
                        '            <div class="result_type_text">检索到行业相同，字号相同的公司</div>' +
                        '            <div class="pass_rate">相似度 65%</div>' +
                        '        </div>' +
                        '        <div class="result_suggest">' +
                        '            属于【同行业，同字号，有包含关系】，与' +
                        '            <span>' +
                        '                <font color="#f00">'+ data.data[i]['txt'] +'</font>' +
                        '            </span>' +
                        '            的行业相同' +
                        '            <font color="#f00">'+ qm +'</font>' +
                        '            与' +
                        '            <font color="#f00">'+ data.data[i]['txt'] +'</font>' +
                        '            有包含关系，相似度【高】' +
                        '        </div>' +
                        '    </div>' +
                        '</div>';
                    i++;
                }
                for (var j=4;j<data.count;j++){
                    str2 +=
                        '<div class="warp_results_list">' +
                        '    <div class="result_text">' +
                        '        <div class="result_type row">' +
                        '            <div class="result_type_text">检索到行业相同，字号相同的公司</div>' +
                        '            <div class="pass_rate">相似度 65%</div>' +
                        '        </div>' +
                        '        <div class="result_suggest">' +
                        '            属于【同行业，同字号，有包含关系】，与' +
                        '            <span>' +
                        '                <font color="#f00">'+ data.data[j]['txt'] +'</font>' +
                        '            </span>' +
                        '            的行业相同' +
                        '            <font color="#f00">'+ qm +'</font>' +
                        '            与' +
                        '            <font color="#f00">'+ data.data[j]['txt'] +'</font>' +
                        '            有包含关系，相似度【高】' +
                        '        </div>' +
                        '    </div>' +
                        '</div>';
                }
                $('#show').html(str);
                $('.panel1').eq(0).html(str2);
                $('#count').html(data.count);
                $('.tgl li').eq(2).addClass('d');
            }
        });
    }
    refresh();
</script>
</body>
</html>
